89f0090a7545284575f78225e980ae74ef64ae03,plugins/org.eclipse.xtext.common.types/src/org/eclipse/xtext/common/types/access/impl/IndexedJvmTypeAccess.java,IndexedJvmTypeAccess,getIndexedJvmType,#URI#ResourceSet#,45
Before Change
typeProxy = EcoreUtil.resolve(typeProxy, resourceSet);
}
if (!typeProxy.eIsProxy() && typeProxy instanceof JvmType) {
EObject result = resolveJavaObject((JvmType)typeProxy, javaObjectURI.fragment());
if (result != null)
return result;
}
After Change
String fqn = withoutFragment.segment(withoutFragment.segmentCount() - 1);
String[] fqnSegments = fqn.split("\\.");
QualifiedName qualifiedName = QualifiedName.create(fqnSegments);
return getIndexedJvmType(qualifiedName, javaObjectURI.fragment(), resourceSet);
}
return null;
}